package com.imedway.ihe.dtz.xds.dao;

import java.sql.SQLException;
import java.util.List;

import com.imedway.ihe.dtz.xds.dto.XdsDto;
import com.imedway.ihe.dtz.xds.entity.IheXdsFileInfo;
import com.imedway.ihe.dtz.xds.util.MysqlDbUtils;


public class DataDao {
	
	public void insertFileData(XdsDto dto) throws SQLException {
		MysqlDbUtils.insertDb(dto);
	}
	
	public void updateFileData(XdsDto dto) throws SQLException {
		MysqlDbUtils.updateDb(dto);
	}
	public List<IheXdsFileInfo> findFileData(XdsDto dto) throws SQLException {
		return MysqlDbUtils.selectDb(dto);
	}
}
